package com.atguigu.yygh.hosp;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;


/**
 * @author A
 * @version 1.0
 * @description: TODO
 * @date 2025/3/4 23:21
 */
@EnableDiscoveryClient
@ComponentScan("com.atguigu.yygh")
@MapperScan("com.atguigu.yygh.hosp.mapper")
@EnableFeignClients("com.atguigu.yygh")
@SpringBootApplication
public class ServiceHospApplication {
    public static void main(String[] args) {
        // Spring Boot 启动类
        SpringApplication.run(ServiceHospApplication.class, args);
    }
}
